package com.ocom.common.request.web;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GetAccessByUserRequest {

    @JsonProperty(value = "comId")
    @NotBlank(message = "单位编号 不能为空")
    String comId;

    @JsonProperty(value = "pId")
    @NotBlank(message = "人员编号 不能为空")
    String pId;
}
